List of activities within the organization. This list returns all the top-level activities in the organization. Each of those Activity objects includes its child activities.
Parent Type: OrganizationNodeReader
Namespace: Microsoft.LearningComponents.Manifest
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public ReadOnlyCollection<ActivityNodeReader> Activities { get; } |
List all list elements, when this property is accessed, the list is populated.
The activity (e.g. <item>) nodes are in this collection in the same order that they are in the manifest file.
<item> nodes that do not have a valid identifier attribute are not included in this list.
Although SCORM mandates that no two item nodes may have the same identifier in a manifest, there is no check for that when building this collection. It is up to the application to handle if multiple items have identical identifier attributes.
Iterate through all top-level activities in the manifest.
| C# |
foreach (OrganizationNodeReader organization in manifest.Organizations)
{
foreach (ActivityNodeReader activity in organization.Activities)
{
// use the ActivityNodeReader
}
}
|